//
//  WHConfirmView.h
//  SquirrelSeller
//
//  Created by 邓伟浩 on 2019/1/8.
//  Copyright © 2019 邓伟浩. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIView+YBInputControl.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^okClicked)(void);
typedef void(^cancelClicked)(void);

typedef void(^numberChangeBlock)(NSString *text);
typedef void(^phoneChangeBlock)(NSString *text);

@interface WHConfirmView : UIView

@property (nonatomic, strong) UITextField *numberField;
@property (nonatomic, strong) UITextField *phoneField;

@property (nonatomic, copy) okClicked okClicked;
@property (nonatomic, copy) cancelClicked cancelClicked;

@property (copy, nonatomic) numberChangeBlock numberChange;
@property (copy, nonatomic) phoneChangeBlock phoneChange;

@end

NS_ASSUME_NONNULL_END
